# @Desc    : do what 
# @Author  : meihongliang  
# @Time    : 2025-03-28 16:40
from prettytable import PrettyTable


def t1():
    table = PrettyTable()
    table.field_names = ["ID", "Name", "Age"]
    table.add_row([1, "Alice", 25])
    print(table)
    table.clear_rows()
    table.add_row([2, "Bob", 30])
    print(table)


from tqdm import tqdm
import time


def t2():
    for i in tqdm(range(100)):
        time.sleep(0.1)  # 模拟任务


if __name__ == '__main__':
    t1()
    t2()
